home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{2459C0E3-BDB0-11D0-86B4-444553540000}#1.0#0"; "PCTONE.OCX"
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 3195
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 4680
- LinkTopic = "Form1"
- ScaleHeight = 3195
- ScaleWidth = 4680
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command1
- Caption = "Two Tone Beep"
- Height = 975
- Left = 1440
- TabIndex = 0
- Top = 840
- Width = 1815
- End
- Begin PCTONELib.PCTone PCTone1
- Left = 600
- Top = 2040
- _Version = 65536
- _ExtentX = 847
- _ExtentY = 847
- _StockProps = 64
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Dim freq%
- For freq% = 1000 To 3000 Step 1000
- PCTone1.Beep freq%, 50
- While PCTone1.Wait = False
- DoEvents
- Wend
- End Sub
-